package com.yungu.swift.assets.driver.model.param;

import com.yungu.swift.base.model.admin.AdminParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : cuixiuyin
 * @date : 2019/7/2
 * @description: 寻找附近司机入参
 */
@Data
public class AdminDriverAroundParam extends AdminParam {

    @NotNull(message = "业务类型不允许为空")
    @ApiModelProperty(value = "业务类型（1.出租车，2专车 3跨城拼车 4快车）")
    private Integer  type;

    @NotNull(message = "经度不允许为空")
    @ApiModelProperty(value = "经度")
    private Double lng;

    @NotNull(message = "纬度不允许为空")
    @ApiModelProperty(value = "纬度")
    private Double lat;

}
